Skip to content

docs(container-toolkit): add 1.20.3 release notes - #549

Open
mikemckiernan wants to merge 2 commits into
mainfrom
devin/1795528701-ctk-1-20-3
Open

mikemckiernan wants to merge 2 commits into
mainfrom
devin/1795528701-ctk-1-20-3

Conversation

@mikemckiernan

@mikemckiernan mikemckiernan commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Documents the pending NVIDIA Container Toolkit 1.20.3 bugfix release. The only user-facing change on release-1.20 since v1.20.2 is NVIDIA/nvidia-container-toolkit#2236 (backported as #2238). It fixes #2226, where pods with hostUsers: false fail to start because of the void volume mount of /dev/null that v1.20.2 adds to the CDI spec.

  • release-notes.md: new 1.20.3 section that describes the fix in user-facing terms. Generated specs no longer include the /dev/null mount, and volume-mount device requests still cannot add GPUs beyond the GPUs that CDI selects. Internally, the runtime ignores volume-mount device requests when NVIDIA_VISIBLE_DEVICES is void/none.
  • cdi-support.md: the paragraph added for 1.20.2 now describes the NVIDIA_VISIBLE_DEVICES=void mechanism. It tells users who generated a spec manually with v1.20.2 to upgrade and then regenerate, because the v1.20.2 generator re-creates the mount.
  • repo.toml and versions1.json: version 1.20.3.

Dependency bumps on release-1.20 (CDI 1.1.2, cgroups 0.1.1, distroless/go v4.2.2) are not listed, matching earlier release notes.

Before merging

  • Merge only after v1.20.3 is tagged and the packages and containers are published.
  • Confirm no other user-facing fixes land on release-1.20 before the tag.

Link to Devin session: https://nvidia-cloud.devinenterprise.com/sessions/0b88f95cbd28449a97bbdd98a629bd09
Open in Devin Desktop: https://nvidia-cloud.devinenterprise.com/desktop/session/0b88f95cbd28449a97bbdd98a629bd09?variant=devin
Requested by: @mikemckiernan


Devin Review

Signed-off-by: Mike McKiernan <mmckiernan@nvidia.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

Devin Review found 3 potential issues.

Devin Review

Comment thread container-toolkit/cdi-support.md Resolved

Generated CDI specifications include a `void` volume mount.
When you set `accept-nvidia-visible-devices-as-volume-mounts` to `true`, the `void` mount prevents the NVIDIA Container Runtime from injecting additional devices through volume-mount requests.
Generated CDI specifications set the `NVIDIA_VISIBLE_DEVICES` environment variable to `void`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 CDI guidance blurs unset and void

The preceding hook warning says to leave NVIDIA_VISIBLE_DEVICES unset. It does not distinguish an explicit device request from the void value CDI adds.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread container-toolkit/release-notes.md Outdated
Comment on lines +21 to +25
The CDI specification generated by `v1.20.2` includes a `void` volume mount of `/dev/null`, and the container runtime cannot apply an ID-mapped mount to `/dev/null`.
Container creation fails with an error such as `failed to set MOUNT_ATTR_IDMAP on /dev/null: invalid argument`.
Generated CDI specifications no longer include the `void` volume mount.
When `NVIDIA_VISIBLE_DEVICES` is set to `void` or `none`, the NVIDIA Container Runtime ignores device requests through volume mounts.
Generated CDI specifications set `NVIDIA_VISIBLE_DEVICES=void`, so volume-mount requests still cannot add GPUs to a container in addition to the GPUs selected through CDI.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Release note combines separate facts

The startup explanation combines the generated mount and the runtime error. The NVIDIA_VISIBLE_DEVICES=void explanation likewise combines the new setting and its effect on GPU requests.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Describe the user-visible fix and tell readers to upgrade before regenerating a CDI spec.

Signed-off-by: Mike McKiernan <mmckiernan@nvidia.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

Devin Review

The containers failed with an error such as `failed to set MOUNT_ATTR_IDMAP on /dev/null: invalid argument`.
Generated CDI specifications no longer include the `/dev/null` volume mount that caused the error.
The NVIDIA Container Runtime still prevents volume-mount device requests from adding GPUs in addition to the GPUs that CDI selects.
If you generated a CDI specification manually, regenerate the specification after you upgrade.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Unscoped CDI regeneration advice

The release note tells all readers with manual CDI specifications to regenerate them. The CDI guide limits that instruction to specifications generated with v1.20.2.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

@github-actions

Copy link
Copy Markdown

Documentation preview

https://nvidia.github.io/cloud-native-docs/review/pr-549

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant